export interface BaseResponse<T> {
  code: number;
  data: T;
  message: string;
}
export type PageFilter = {
  page: number;
  pageSize: number;
};

export interface ListData<T = any> {
  list: T[];
  total: number;
}

// 请求参数类型
export interface RequestOptions {
  url: string;
  method?: UniApp.RequestOptions["method"];
  data?: any;
  header?: UniApp.RequestOptions["header"];
  showLoading?: boolean;
}
